package com.edu.policy.data.domain;

import lombok.Data;

@Data
public class ModbusData {
    private String deviceId;
    private int functionCode;
    private String rawData;
    private long timestamp;

    public ModbusData(String deviceId, int functionCode, String rawData, long timestamp) {
        this.deviceId = deviceId;
        this.functionCode = functionCode;
        this.rawData = rawData;
        this.timestamp = timestamp;
    }
}
